QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17


#RC_ICONS += $$PWD/Resource/Mod.ico
	
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    Gof23/Gof_Adapter/MoveAdapter.cpp \
    Gof23/Gof_Adapter/MoveOld.cpp \
    Gof23/Gof_Bridge/CompanyHuawei.cpp \
    Gof23/Gof_Bridge/CompanyMi.cpp \
    Gof23/Gof_Bridge/CompanyZTE.cpp \
    Gof23/Gof_Bridge/ComputerLaptop.cpp \
    Gof23/Gof_Bridge/ComputerPC.cpp \
    Gof23/Gof_Bridge/ComputerPad.cpp \
    Gof23/Gof_Bridge/PriceBig.cpp \
    Gof23/Gof_Bridge/PriceSmall.cpp \
    Gof23/Gof_Bridge/ProductComputer.cpp \
    Gof23/Gof_Builder/DirectorTangShi.cpp \
    Gof23/Gof_Builder/FoodBuilderComboA.cpp \
    Gof23/Gof_Builder/FoodBuilderComboB.cpp \
    Gof23/Gof_Builder/FoodBuilderSinChicken.cpp \
    Gof23/Gof_Builder/FoodBuilderSinDrinks.cpp \
    Gof23/Gof_Builder/FoodBuilderSinHamburger.cpp \
    Gof23/Gof_Builder/FoodBuilderSinIceCream.cpp \
    Gof23/Gof_Builder/FoodChicken.cpp \
    Gof23/Gof_Builder/FoodDrinks.cpp \
    Gof23/Gof_Builder/FoodHamburger.cpp \
    Gof23/Gof_Builder/FoodIceCream.cpp \
    Gof23/Gof_Composite/CompositeComponent.cpp \
    Gof23/Gof_Composite/LeafComponent.cpp \
    Gof23/Gof_Decorator/Car.cpp \
    Gof23/Gof_Decorator/CarDecorator.cpp \
    Gof23/Gof_Decorator/CarDecoratorAutoMove.cpp \
    Gof23/Gof_Decorator/CarDecoratorFly.cpp \
    Gof23/Gof_Decorator/CarDecoratorSwim.cpp \
    Gof23/Gof_Facade/FacadeTea.cpp \
    Gof23/Gof_Facade/Tea.cpp \
    Gof23/Gof_Facade/TeaSet.cpp \
    Gof23/Gof_Facade/Water.cpp \
    Gof23/Gof_Factory/CarAudi.cpp \
    Gof23/Gof_Factory/CarBMW.cpp \
    Gof23/Gof_Factory/CarByd.cpp \
    Gof23/Gof_Factory/FactoryAbstract/FactoryProductA.cpp \
    Gof23/Gof_Factory/FactoryAbstract/FactoryProductB.cpp \
    Gof23/Gof_Factory/FactoryAbstract/RocketHT.cpp \
    Gof23/Gof_Factory/FactoryAbstract/RocketMY.cpp \
    Gof23/Gof_Factory/FactoryAbstract/RocketSY.cpp \
    Gof23/Gof_Factory/FactoryAbstract/ScreenAOC.cpp \
    Gof23/Gof_Factory/FactoryAbstract/ScreenLG.cpp \
    Gof23/Gof_Factory/FactoryAbstract/ScreenSX.cpp \
    Gof23/Gof_Factory/FactoryMethod/FactoryAudi.cpp \
    Gof23/Gof_Factory/FactoryMethod/FactoryBMW.cpp \
    Gof23/Gof_Factory/FactoryMethod/FactoryByd.cpp \
    Gof23/Gof_Factory/FactoryMethodM/CarBydM.cpp \
    Gof23/Gof_Factory/FactoryMethodM/FactorySimpleM.cpp \
    Gof23/Gof_Factory/FactorySimple/FactorySimple.cpp \
    Gof23/Gof_Flyweight/FlyComponent.cpp \
    Gof23/Gof_Flyweight/FlyFactoryStatic.cpp \
    Gof23/Gof_Observer/ObserverBar.cpp \
    Gof23/Gof_Observer/ObserverUI.cpp \
    Gof23/Gof_Observer/Subject.cpp \
    Gof23/Gof_Observer/SubjectA.cpp \
    Gof23/Gof_Prototype/DataRun.cpp \
    Gof23/Gof_Prototype/DataWalk.cpp \
    Gof23/Gof_Proxy/Ticket.cpp \
    Gof23/Gof_Proxy/TicketProxy.cpp \
    Gof23/Gof_Singleton/Singleton11.cpp \
    Gof23/Gof_Singleton/Singleton11T.cpp \
    Gof23/Gof_Singleton/SingletonEhan.cpp \
    Gof23/Gof_Singleton/SingletonLhan.cpp \
    Gof23/Gof_Singleton/SingletonStatic.cpp \
    Gof23/Gof_Strategy/Context.cpp \
    Gof23/Gof_Strategy/CustomerFewStrategy.cpp \
    Gof23/Gof_Strategy/CustomerManyStrategy.cpp \
    Gof23/Gof_Strategy/OldCustomerFewStrategy.cpp \
    Gof23/Gof_Strategy/OldCustomerManyStrategy.cpp \
    Gof23/Gof_TemplateMethod/NorApplication.cpp \
    Gof23/Gof_TemplateMethod/NorLibrary.cpp \
    Gof23/Gof_TemplateMethod/TemplateMethodApplication.cpp \
    Gof23/Gof_TemplateMethod/TemplateMethodLibrary.cpp \
    UI/MainUI/CMainUIManage.cpp \
    UI/MainUI/MainStatus/UIMainStatusAll.cpp \
    UI/MainUI/MainStatus/UIMainStatusMod.cpp \
    UI/ModRun/FactoryModRun.cpp \
    UI/ModRun/Models/ModRunAdapter.cpp \
    UI/ModRun/Models/ModRunBase.cpp \
    UI/ModRun/Models/ModRunBridge.cpp \
    UI/ModRun/Models/ModRunBuilder.cpp \
    UI/ModRun/Models/ModRunCommand.cpp \
    UI/ModRun/Models/ModRunComposite.cpp \
    UI/ModRun/Models/ModRunDecorator.cpp \
    UI/ModRun/Models/ModRunFacade.cpp \
    UI/ModRun/Models/ModRunFactory.cpp \
    UI/ModRun/Models/ModRunFactoryAbstract.cpp \
    UI/ModRun/Models/ModRunFlyweight.cpp \
    UI/ModRun/Models/ModRunIterator.cpp \
    UI/ModRun/Models/ModRunObserver.cpp \
    UI/ModRun/Models/ModRunPrototype.cpp \
    UI/ModRun/Models/ModRunProxy.cpp \
    UI/ModRun/Models/ModRunSingleton.cpp \
    UI/ModRun/Models/ModRunStrategy.cpp \
    UI/ModRun/Models/ModRunTemplateMethod.cpp \
    UI/ModRun/Output/FactoryOutput.cpp \
    UI/ModRun/Output/ModRunDescOutput.cpp \
    UI/ModRun/Output/ModRunOutput.cpp \
    UI/Visitor/VisitorDisplayLog.cpp \
    UI/Visitor/VisitorDisplayName.cpp \
    main.cpp \
    mainwindow.cpp

HEADERS += \
    Gof23/Gof_Adapter/InterFaceAdapter.h \
    Gof23/Gof_Adapter/MoveAdapter.h \
    Gof23/Gof_Adapter/MoveOld.h \
    Gof23/Gof_Bridge/CompanyHuawei.h \
    Gof23/Gof_Bridge/CompanyMi.h \
    Gof23/Gof_Bridge/CompanyZTE.h \
    Gof23/Gof_Bridge/ComputerLaptop.h \
    Gof23/Gof_Bridge/ComputerPC.h \
    Gof23/Gof_Bridge/ComputerPad.h \
    Gof23/Gof_Bridge/InterFaceBridge.h \
    Gof23/Gof_Bridge/PriceBig.h \
    Gof23/Gof_Bridge/PriceSmall.h \
    Gof23/Gof_Bridge/ProductComputer.h \
    Gof23/Gof_Builder/DirectorTangShi.h \
    Gof23/Gof_Builder/FoodBuilderComboA.h \
    Gof23/Gof_Builder/FoodBuilderComboB.h \
    Gof23/Gof_Builder/FoodBuilderSinChicken.h \
    Gof23/Gof_Builder/FoodBuilderSinDrinks.h \
    Gof23/Gof_Builder/FoodBuilderSinHamburger.h \
    Gof23/Gof_Builder/FoodBuilderSinIceCream.h \
    Gof23/Gof_Builder/FoodChicken.h \
    Gof23/Gof_Builder/FoodDrinks.h \
    Gof23/Gof_Builder/FoodHamburger.h \
    Gof23/Gof_Builder/FoodIceCream.h \
    Gof23/Gof_Builder/InterFaceBuilder.h \
    Gof23/Gof_Composite/CompositeComponent.h \
    Gof23/Gof_Composite/InterFaceComposite.h \
    Gof23/Gof_Composite/LeafComponent.h \
    Gof23/Gof_Decorator/Car.h \
    Gof23/Gof_Decorator/CarDecorator.h \
    Gof23/Gof_Decorator/CarDecoratorAutoMove.h \
    Gof23/Gof_Decorator/CarDecoratorFly.h \
    Gof23/Gof_Decorator/CarDecoratorSwim.h \
    Gof23/Gof_Decorator/InterFaceDecorator.h \
    Gof23/Gof_Facade/FacadeTea.h \
    Gof23/Gof_Facade/InterFaceFacade.h \
    Gof23/Gof_Facade/Tea.h \
    Gof23/Gof_Facade/TeaSet.h \
    Gof23/Gof_Facade/Water.h \
    Gof23/Gof_Factory/CarAudi.h \
    Gof23/Gof_Factory/CarBMW.h \
    Gof23/Gof_Factory/CarByd.h \
    Gof23/Gof_Factory/FactoryAbstract/FactoryProductA.h \
    Gof23/Gof_Factory/FactoryAbstract/FactoryProductB.h \
    Gof23/Gof_Factory/FactoryAbstract/InterfaceFactory.h \
    Gof23/Gof_Factory/FactoryAbstract/InterfaceRocket.h \
    Gof23/Gof_Factory/FactoryAbstract/InterfaceScreen.h \
    Gof23/Gof_Factory/FactoryAbstract/RocketHT.h \
    Gof23/Gof_Factory/FactoryAbstract/RocketMY.h \
    Gof23/Gof_Factory/FactoryAbstract/RocketSY.h \
    Gof23/Gof_Factory/FactoryAbstract/ScreenAOC.h \
    Gof23/Gof_Factory/FactoryAbstract/ScreenLG.h \
    Gof23/Gof_Factory/FactoryAbstract/ScreenSX.h \
    Gof23/Gof_Factory/FactoryMethod/FactoryAudi.h \
    Gof23/Gof_Factory/FactoryMethod/FactoryBMW.h \
    Gof23/Gof_Factory/FactoryMethod/FactoryByd.h \
    Gof23/Gof_Factory/FactoryMethod/InterfaceCarFactory.h \
    Gof23/Gof_Factory/FactoryMethodM/CarBydM.h \
    Gof23/Gof_Factory/FactoryMethodM/FactorySimpleM.h \
    Gof23/Gof_Factory/FactoryMethodM/InterfaceCarCreate.h \
    Gof23/Gof_Factory/FactorySimple/FactorySimple.h \
    Gof23/Gof_Factory/InterfaceCar.h \
    Gof23/Gof_Flyweight/FlyComponent.h \
    Gof23/Gof_Flyweight/FlyFactoryStatic.h \
    Gof23/Gof_Flyweight/InterFaceFlyweight.h \
    Gof23/Gof_Observer/IObserver.h \
    Gof23/Gof_Observer/ObserverBar.h \
    Gof23/Gof_Observer/ObserverUI.h \
    Gof23/Gof_Observer/Subject.h \
    Gof23/Gof_Observer/SubjectA.h \
    Gof23/Gof_Prototype/DataRun.h \
    Gof23/Gof_Prototype/DataWalk.h \
    Gof23/Gof_Prototype/InterFacePrototype.h \
    Gof23/Gof_Proxy/InterFaceProxy.h \
    Gof23/Gof_Proxy/Ticket.h \
    Gof23/Gof_Proxy/TicketProxy.h \
    Gof23/Gof_Singleton/Singleton11.h \
    Gof23/Gof_Singleton/Singleton11T.h \
    Gof23/Gof_Singleton/SingletonEhan.h \
    Gof23/Gof_Singleton/SingletonLhan.h \
    Gof23/Gof_Singleton/SingletonStatic.h \
    Gof23/Gof_Strategy/Context.h \
    Gof23/Gof_Strategy/CustomerFewStrategy.h \
    Gof23/Gof_Strategy/CustomerManyStrategy.h \
    Gof23/Gof_Strategy/OldCustomerFewStrategy.h \
    Gof23/Gof_Strategy/OldCustomerManyStrategy.h \
    Gof23/Gof_Strategy/StrategyInterFace.h \
    Gof23/Gof_TemplateMethod/NorApplication.h \
    Gof23/Gof_TemplateMethod/NorLibrary.h \
    Gof23/Gof_TemplateMethod/TemplateMethodApplication.h \
    Gof23/Gof_TemplateMethod/TemplateMethodLibrary.h \
    UI/MainUI/CMainUIManage.h \
    UI/MainUI/InterFaceUIMain.h \
    UI/MainUI/MainStatus/UIMainStatusAll.h \
    UI/MainUI/MainStatus/UIMainStatusMod.h \
    UI/ModRun/FactoryModRun.h \
    UI/ModRun/InterfaceModRunCreate.h \
    UI/ModRun/Models/ModRunAdapter.h \
    UI/ModRun/Models/ModRunBase.h \
    UI/ModRun/Models/ModRunBridge.h \
    UI/ModRun/Models/ModRunBuilder.h \
    UI/ModRun/Models/ModRunCommand.h \
    UI/ModRun/Models/ModRunComposite.h \
    UI/ModRun/Models/ModRunDecorator.h \
    UI/ModRun/Models/ModRunFacade.h \
    UI/ModRun/Models/ModRunFactory.h \
    UI/ModRun/Models/ModRunFactoryAbstract.h \
    UI/ModRun/Models/ModRunFlyweight.h \
    UI/ModRun/Models/ModRunIterator.h \
    UI/ModRun/Models/ModRunObserver.h \
    UI/ModRun/Models/ModRunPrototype.h \
    UI/ModRun/Models/ModRunProxy.h \
    UI/ModRun/Models/ModRunSingleton.h \
    UI/ModRun/Models/ModRunStrategy.h \
    UI/ModRun/Models/ModRunTemplateMethod.h \
    UI/ModRun/Output/FactoryOutput.h \
    UI/ModRun/Output/ModRunDescOutput.h \
    UI/ModRun/Output/ModRunOutput.h \
    UI/Visitor/VisitorDisplayLog.h \
    UI/Visitor/VisitorDisplayName.h \
    mainwindow.h

FORMS += \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    Res.qrc

